/* 全局样式 */
html,body{
  width: 100%;
  height: 100%;
}
#app{
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgb(255,255,255);
}
@font-size:(375/10rem);
@backcolor:rgb(248,248,248);

/* 头部 */
#header{
  z-index: 10;
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgb(255,255,255);
  .info{
    width: 100%;
    height: (40/@font-size);
    //margin-bottom: 1px;
    background-color: @backcolor;
    .wrap{
      display: flex;
      justify-content: space-between;
      width: (350/@font-size);
      line-height: (40/@font-size);
      margin: 0 auto;
      font-size: (14/@font-size);
      font-weight: bold;
    }
  }
  .title{
    width: 100%;
    height: (40/@font-size);
    line-height: (40/@font-size);
    background-color: @backcolor;
    text-align: center;
    font-size: (16/@font-size);
    font-weight: bold;
  }
  /* 搜索框 */
  .search{
    width: (350/@font-size);
    height: (43/@font-size);
    line-height: (43/@font-size);
    margin: (5/@font-size) auto;
    a{
      float: left;
      display: block;
      text-align: center;
      font-size: (13/@font-size);
      color: #DADADA;
      background-color: @backcolor;
      border-radius: (12/@font-size) 0 0 (12/@font-size);
      i{
        display: block;
        width: (43/@font-size);
        height: (43/@font-size);
        line-height: (43/@font-size);
      }
    }
    input{
      float: left;
      display: block;
      width: (307/@font-size);
      height: (43/@font-size);
      line-height: (43/@font-size);
      background-color: @backcolor;
      border-radius: 0 (12/@font-size) (12/@font-size) 0;
      padding: 0;
      border: none;
      outline: none;
      text-align: left;
      font-size: (12/@font-size);
    }
    ::-webkit-input-placeholder{
      color: #d7d7d7;
    }
  }
}
/* 主体 */
#main{
  width: 100%;
  padding-top: (134/@font-size);
  padding-bottom: (60/@font-size);
  /* banner */
  .banner{
    width: (350/@font-size);
    margin: 0 auto;
    #swiper-container{
      position: relative;
      width: 100%;
      overflow: hidden;
      .swiper-wrap{
        position: absolute;
        .swiper-slide{
          img {
            width: (350/@font-size);
          };
        }
      }
    }
    ul{
      margin: (15/@font-size) 0;
      overflow: hidden;
      display: flex;
      justify-content: space-between;
      align-content: space-between;
      flex-flow: wrap;
      width: 100%;
      height: (144/@font-size);
      li{
        width: (51/@font-size);
        height: (58/@font-size);
        margin: 0 (15/@font-size);
        a{
          display: flex;
          flex-flow: column;
          justify-content: space-between;
          align-items: center;
          width: (51/@font-size);
          height: (58/@font-size);
          font-size: (12/@font-size);
          color: #252525;
          img{
            width: (39/@font-size);
            height: (39/@font-size);
          }
          span{
            display: inline-block;
          }
        }
      }
    }
  }
  /* 企业 */
  .companies{
    width: (350/@font-size);
    height: (120/@font-size);
    margin: (60/@font-size) auto 0;
    display: flex;
    justify-content: space-between;
    flex-flow: wrap;
    li{
      width: (60/@font-size);
      height: (50/@font-size);
      border: solid 1px #D0D0D0;
      font-size: (12/@font-size);
      margin: 0 (8/@font-size);
      a{
        display: block;
        width: (60/@font-size);
        height: (50/@font-size);
        line-height: (50/@font-size);
        text-align: center;
        color: #313131;
      }
    }
  }
  /* 分类中心 */
  .professions{
    width: 100%;
    margin-top: (15/@font-size);
    .head{
      padding-left: (10/@font-size);
      margin: (8/@font-size) 0;
      width: (375/@font-size);
      height: (20/@font-size);
      line-height: (20/@font-size);
      h2{
        font-size: (18/@font-size);
        color: #4A4A4A;
      }
    }
    .items{
      display: flex;
      flex-flow: wrap;
      justify-content: space-between;
      align-content: space-between;
      width: (375/@font-size);
      height: (260/@font-size);
      li{
        margin: 0 (6/@font-size);
        box-sizing: border-box;
        border: solid 1px #DCDCDC;
        a{
          display: flex;
          flex-flow: column;
          justify-content: space-between;
          align-items: center;
          padding: (15/@font-size) 0;
          width: (100/@font-size);
          height: (90/@font-size);
          font-size: (12/@font-size);
          color: #3C3C3C;
          img{
            width: (60/@font-size);
          }
        }
      }
    }
  }
}
/* 底部 */
#footer{
  position: fixed;
  bottom: 0;
  width: 100%;
  height: (60/@font-size);
  line-height: (60/@font-size);
  border-top: solid 1px #E7E7E7;
  background-color: rgb(255,255,255);
  display: flex;
  justify-content: space-around;
  align-items: center;
  a{
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    text-align: center;
    width: (40/@font-size);
    height: (40/@font-size);
    color: #A6A6A6;
    i{
      display: block;
      font-size: (16/@font-size);
    }
    span{
      display: block;
      font-size: (14/@font-size);
      width: (40/@font-size);
      height: (14/@font-size);
      line-height: (14/@font-size);
    }
    &.active{
      color: #CCBE97;
    }
  }
}